public class break_ {
        //break语句,跳出循环语句
        public static void main(String[] args){
            int count=0;
            while(true){
                int num = (int)(Math.random()*100);
                if( num == 97){
                    System.out.println(num);
                    break;
                }
                if(num<50){
                    continue;
                }
                count++;
            }
            System.out.println(count);
        }
}
